package com.ainote.service.impl;

import com.ainote.service.NlpService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 智谱 (ChatGLM) NLP 示例实现（占位）
 */
@Service("zhipuNlpService")
public class ZhipuNlpService implements NlpService {
    @Override
    public Map<String, Object> extractSummaryAndKeyPoints(String text) throws Exception {
        String summary = "[ZHIPU_SUMMARY_PLACEHOLDER]";
        List<String> keyPoints = List.of("示例点X", "示例点Y");
        return Map.of("summary", summary, "keyPoints", keyPoints);
    }

    @Override
    public Map<String, String> analyze(String transcript) throws Exception {
        return Map.of();
    }
}
